convert a php array into a javascript array

50

convert a php array into a javascript array -

var js_array = [<?php echo '"'.implode('","',  $disabledDaysRange ).'"' ?>];

Comments

Submit
0 Comments